<template>
	<view>
		<f-navbar title="二手集市" fontColor="#ffffff" bgColor="#ffa200" :scrollTop="scrollTop" navbarType='0'></f-navbar>
		<statement></statement>
		<!-- 搜索 -->
		<view class="flex">
			<view class="regionText">
				贵阳市 
			</view>
			<span class="icon" style="color: #d70000;font-size: 30rpx;">&#xe600;</span>

			<view class="text-area">
				<input type="text" class="inputBox" placeholder="  请搜索你需要的服务">
			</view>
			<view>
				扫一扫/客服
			</view>
		</view>
		<view>
			<typeTabs></typeTabs>
		</view>
	</view>
</template>

<script>
	import typeTabs from '@/components/u-second-tab/u-second-tabs.vue'
	import statement from "../../components/statement/statement.vue"
	export default {
		components: {
			typeTabs
		},
		data() {
			return {};
		},
		methods: {
			onClickItem(e) {
				if (this.current != e.currentIndex) {
					this.current = e.currentIndex;
				}
			}
		}
	};
</script>

<style lang="scss">
	.inputBox {
        
		height: 70rpx;
		background-color: #ececec;
		border-radius: 50rpx;
		margin: 10rpx auto;
		font-size: 26rpx;
	}

	.flex {
		display: flex;
		align-items: center;
		padding: 0 10px;
	}
	.text-area{
		flex: 1;
	}
</style>